package com.coding.springboot.demo.dao;

import com.coding.springboot.demo.entity.TservicenoSet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by qince on 2015/8/3.
 */
public interface TservicenoSetDao extends JpaRepository<TservicenoSet,String> {
    @Query("select t from TservicenoSet t where t.generalid=?1")
    public List<TservicenoSet> getServiceNo(Long generalId);
}
